home *** CD-ROM | disk | FTP | other *** search
/ Megahits 5 / Megahits 5 (1994)(GTI - Rhein-Main-Soft)(DE)(Disc 2 of 2)[!].iso / archive / show / sview2_5.lha / SuperView / ARexxDemo.rx next >
Text File  |  1994-05-28  |  850b  |  45 lines

  1. /*
  2.    $VER: SuperView_ARexx_Demo V2.4 (8.5.94)
  3.    © 1993-94 by Andreas R. Kleinert
  4.    This is a - quite primitive - example how to access
  5.    SuperView's ARexx port from a script.
  6.  
  7. */
  8.  
  9. address command
  10.  
  11. SuperView "-INSTALL_APPMENU=FALSE -INSTALL_APPICON=FALSE"
  12.  
  13. say ""
  14. say "ARexx : SuperView has been started : Waiting a moment."
  15.  
  16. wait 2
  17.  
  18. say "ARexx : Load a GIF Graphics via the SHOW command"
  19. say "        (Press <RETURN> inside this Window after the graphic"
  20. say "         appeared : L_AMIGA+M, <RETURN>)"
  21.  
  22. address 'SuperView.rx' "SHOW=SuperView.GIF"
  23.  
  24. pull key
  25.  
  26. say "ARexx : Save Graphics as IFF-ILBM"
  27.  
  28. address 'SuperView.rx' "SAVE_ILBM1=SuperView.ilbm"
  29.  
  30. wait 3
  31.  
  32. say "ARexx : Load this IFF-ILBM Gfx now for control"
  33.  
  34. Wait 2
  35.  
  36. address 'SuperView.rx' "SHOW=SuperView.ilbm"
  37.  
  38. say "ARexx : O.K. : Let's quit !"
  39.  
  40. Wait 5
  41.  
  42. address 'SuperView.rx' "QUIT"
  43.  
  44. exit
  45.